x86/shadow: fix big-memory build
authorJan Beulich <jbeulich@suse.com>
Thu, 23 Apr 2015 11:10:19 +0000 (13:10 +0200)
committerJan Beulich <jbeulich@suse.com>
Thu, 23 Apr 2015 11:10:19 +0000 (13:10 +0200)
commit92ff75384bce7a11e27fbfaf0c531e88dd1ab4c7
tree0eab6dbb493d1c601d7babaab9088da2056bda28
parent1ae848efbaae8c21be3049c78f8216f0c2d17373
x86/shadow: fix big-memory build

Modifiers to the pointer passed into list_next_entry() are also being
applied to the macro's return type, and hence if the input pointer is
const-qualified a variable the result gets assigned to would also need
to be. As that doesn't seem desirable here, drop the const qualifier
on the input pointer instead.

Signed-off-by: Jan Beulich <jbeulich@suse.com>
Acked-by: Tim Deegan <tim@xen.org>
xen/arch/x86/mm/shadow/private.h